/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package util;

import Dao.BancoDAO;
import Dominio.Banco;
import javax.transaction.Transaction;
import org.hibernate.Session;
import org.hibernate.SessionFactory;

/**
 *
 * @author mayra
 */
public class teste {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        SessionFactory sf = HibernateUtil.getSessionFactory();
        Session session = sf.openSession();


        Banco b = new Banco();
        b.setId(1l);
        BancoDAO dao = new BancoDAO();
        //System.out.println("exemplar "+ dao.);
    }

}
